package com.qf.flash.mvp.contract;

import com.amap.api.location.AMapLocation;
import com.qf.flashlib.base.IPresenter;
import com.qf.flashlib.base.IView;

/**
 * 定位
 * 2020/2/26 17:03
 */
public class LocationContract
{
    public interface View extends IView
    {
        void onLocationSuccess(AMapLocation location);

        void onLocationFailed(String msg);
    }

    public interface Presenter extends IPresenter<View>
    {
        void startOncetLocation();

    }
}
